/**
 * Created by Forcs on 16/4/8.
 */

var LogManager = require('./LogManager');

var Application = function () {
  var _self = this;
  _self._logManager = undefined;
  _self._managers = {}
};

Application.prototype.start = function (options) {
  var _self = this;
  _self._managers['log'] = _self._logManager = new LogManager(options);
};

Application.prototype.getManager = function (name) {
  return this._managers[name];
};

module.exports = new Application();